<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>
<body>
<!--引用其他  html 页面-->
<div th:include="gongxiang :: dneglu"></div>

我是表格<br>
<thead>
<tr>
    <th>id</th>
    <th>用户名</th>
    <th>密码</th>
</tr>
</thead>
<tbody>
<tr class="bg" th:each="loginUser,stats:${loginUsers}">
    <br>
    <td th:text="${stats.count}"></td>
    <td th:text="${loginUser.getUsername()}"></td>
    <td th:text="${loginUser.getPassword()}"></td>
</tr>
</tbody>
</body>
</html>